<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>jq练习</title>
    <script src="../../js/jquery.js"></script>
    <link type="text/css" href="../../style/bootstrap/css/bootstrap.css"/>
</head>
<body>
<div id="app">
    <button class="btn btn-danger">点击提交ajax</button>
</div>
</body>
<script>
    var dataurl=""
    $.ajax({
        type:"post",
        datType:"json",
        data:dataurl,
        success:function (data) {
            if(data!=""){
                console.log("ajax post ")
            }
        }
    })
</script>
</html>